package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Admin;
import cn.kgc.crowdfundingadmin.pojo.AdminExample;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminService {
    //登录
    public Admin login(String loginAcct, String userPswd);

    //分页
    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);

    //删除
    public void batchRemove(List<Integer> adminIdList);

    //添加
    public void saveAdmin(Admin admin);

    //根据id查询
    public Admin getAdminById(Integer adminId);
    //修改
    public void updateAdmin(Admin admin);

}